Added instructions for downloading with Bower#61
Added instructions for downloading with Bower#61ornj wants to merge 1 commit intojquery:masterfrom ornj:master-download-bower
Conversation
jQuery is distributed as a Bower package but this is not docuemnted on the current download pate. This commit adds instructions for downloading the default jQuery release as well as instructions for using Bower to install without including any additional files or directories. Related to jquery/jquery#1542
There was a problem hiding this comment.
This seems like an odd thing for us to document.
There was a problem hiding this comment.
Documented this at the request of @dmethvin in PR jquery/jquery/pull/1542. The idea being that this may cut down on the volume of complaints concerning the amount of files downloaded when requesting the jQuery package through Bower.
What's the reason for it being "odd"?
There was a problem hiding this comment.
Documented this at the request of @dmethvin
I don't see where he asked for this. Can you point to the specific comment?
What's the reason for it being "odd"?
Are there any other projects telling people how to use Bower to install arbitrary files instead of actual packages?
There was a problem hiding this comment.
@dmethvin asked here: jquery/jquery#1542 (comment)
I don't know off hand if any other projects mention doing this but installing an arbitrary file instead of an actual package is described here: http://bower.io/#installing-packages-and-dependencies, in the last bullet point under "Where <package> can be any one of the following"
This obviously isn't the best way to install jQuery but according to what @dmethvin has said, there seems to be a number of people who for one reason or another have a problem with getting more than just jquery.js from the Bower package. This update the documentation is attempting to highlight an alternative in case they didn't think of it on their own.
There was a problem hiding this comment.
@ornj I don't know whether you PR will land nor can I influence in any way. However, if it is accepted it would be great if you could fix a small typo: on it's own -> on its own. Thanks :-)
There was a problem hiding this comment.
I always mess that up. I think someone else is going to work on this but thanks for the copy edit.
|
@ornj, it's probably a bit more detail than we need here but a very good start and I agree we want something on this page about both Bower and npm, just like we have for the CDNs. Would you mind if I just took this and edited it with a shout-out to you? It's probably the fastest way to get it done. |
|
@dmethvin That's fine with me. Let me know if I can do anything to help. |
jQuery is distributed as a Bower package but this is not documented on the current download pate. This commit adds instructions for downloading the default jQuery release as well as instructions for using Bower to install without including any additional files or directories.
Related to jquery/jquery#1542